<br><br>
<table align="center" border="2" cellpadding="2" cellspacing="2" width="" >
<tr>	
	<td class="table1" align="center" colspan="3">To.: {$toId}</td>
	<td class="table1" align="center" colspan="3">Truck No.: {$truckId}</td>
	<td class="table1" align="center" colspan="3">Inv.dt.: {$invoiceDate}</td>
</tr>
<tr>
	<td class="table1"  align="center">Create Cash Memo</td>
	<td class="table1"  align="center">LR No.</td>
	<td class="table1"  align="center">Consignor</td>
	<td class="table1"  align="center">Consignee</td>
	<td class="table1"  align="center">Weight</td>
	<td class="table1"  align="center">Desc</td>
	<td class="table1"  align="center">To Pay / Paid</td>
	<td class="table1"  align="center">Octroi</td>
	<td class="table1"  align="center">Octroi No</td>
</tr>
{section name="sec2" loop=$loadInvoiceArray}
<tr>
	<td class="table2"  align="center">
	  <a href="cashMemo.php?consignor={$loadInvoiceArray[sec2].consignor}&consignee={$loadInvoiceArray[sec2].consignee}&to={$toId}
	  	                   &octroi={$loadInvoiceArray[sec2].octroi}
	  	                   &octroiNo={$loadInvoiceArray[sec2].octroiNo}">
	    Create Cash Memo
	  </a>
	</td>
	<td class="table2"  align="center">{$loadInvoiceArray[sec2].lrNo}</td>
	<td class="table2"  align="center">{$loadInvoiceArray[sec2].consignor}</td>
	<td class="table2"  align="center">{$loadInvoiceArray[sec2].consignee}</td>
	<td class="table2"  align="center">{$loadInvoiceArray[sec2].weight}</td>
	<td class="table2"  align="center">{$loadInvoiceArray[sec2].discription}</td>
	<td class="table2"  align="center">{$loadInvoiceArray[sec2].toPay}</td>
	<td class="table2"  align="center"><input type="text" name="octroi[{$loadInvoiceArray[sec2].loadingInvoiceDetailId}]" value="{$loadInvoiceArray[sec2].octroi}"></td>
	<td class="table2"  align="center"><input type="text" name="octroiNo[{$loadInvoiceArray[sec2].loadingInvoiceDetailId}]" value="{$loadInvoiceArray[sec2].octroiNo}"></td>
</tr>
{/section}
<tr>
  <td class="table1" align="center" colspan="16"><input type="submit" name="submit" value="Submit" class="button" ></td>
</tr>
</table>